import React from "react";
import {View,Text,Image,StyleSheet} from "react-native";
import { windowWidth,getHeight, windowHeight} from "@/utils/index";
interface IProps {
  route:any
}
const BigImage = (props:IProps) => {
  const {route} = props;
  return (
    <View style={styles.bigImage}>
       <Image
         source={{uri: route.params.url}}
          style={styles.image}></Image>
    </View>
  )
}
const styles = StyleSheet.create({
  bigImage:{
    flex:1,
    height:windowHeight,
    backgroundColor:"rgba(0,0,0,0.6)",
    display:"flex",
    justifyContent:"center"
  },
  image:{
    width:windowWidth,
    height:getHeight(50)
  }
})
export default BigImage;